Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add natural and man_made pois #658

Merged
merged 1 commit into from
Apr 1, 2016
Merged

Add natural and man_made pois #658

merged 1 commit into from
Apr 1, 2016

Conversation

rmarianski
Copy link
Member

Connects to #657

@nvkelso, @zerebubuth could you review please?

@zerebubuth
Copy link
Member

👍 now we can make lassie.io to route us to the nearest well when someone falls down it! 😉

*,*,*,*,*,*,*,*,*,*,*,adit,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,${16},adit
*,*,*,*,*,*,*,*,*,*,*,water_well,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,${17},water_well
*,*,*,*,*,*,*,*,*,*,*,*,saddle,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,${14},saddle
*,*,*,*,*,*,*,*,*,*,*,*,dune;geyser;sinkhole,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,${15},"${""natural""}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the "" around {""natural""} do?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to quote the column name natural as "natural" because natural is a keyword in SQL, and the double-quotes means it can be used as a column or table name. The ${} around it is our way of quoting literals in the CSV generation, and the expansion into "${""natural""}" comes from the CSV itself: because it contains a quote, it must be quoted, and the original quotes are expanded to two consecutive sets each.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nvkelso
Copy link
Member

nvkelso commented Apr 1, 2016

LGTM

@rmarianski rmarianski merged commit 4b3c462 into master Apr 1, 2016
@rmarianski rmarianski deleted the natural-man_made-pois branch April 1, 2016 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants